package com.wzh.musichome.service;

import com.wzh.musichome.entity.pojo.Score;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评价 服务类
 * </p>
 *
 * @author wzh
 * @since 2020-12-10
 */
public interface ScoreService extends IService<Score> {

    public boolean insert(Score score);

    /**
     * 计算平均分
     */
    public int scoreOfSongListId(Integer songListId);
}
